import request from '../api/axios.js'


// 根据栏目分批查询设备
export function getPhone() {
  return request({
    url: '/system/device_info/sale/phone',
    method: 'get'
  })
}

export function getComputer() {
  return request({
    url: '/system/device_info/sale/computer',
    method: 'get'
  })
}

export function cycleDevice() {
  return request({
    url: '/system/device_info/recycle',
    method: 'get'
  })
}

export function getShopInfo(param) {
  return request({
    url: `/system/shop/info?type=${param}`,
    method: 'get',
  })
}